-
Notifications
You must be signed in to change notification settings - Fork 8.4k
fix: valdiate watsonX key and enable tool calling for Watson X models #11264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughImplemented IBM WatsonX validation in the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 3❌ Failed checks (1 error, 2 warnings)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In @src/lfx/src/lfx/base/models/unified_models.py:
- Line 333: Remove the trailing whitespace on the blank line causing Ruff W293
in src/lfx/src/lfx/base/models/unified_models.py (around the reported location
near line 333); delete the spaces on that empty line so it's truly empty, then
re-run ruff/formatting (or pre-commit) to confirm the W293 warning is resolved.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/lfx/src/lfx/base/models/unified_models.py
🧰 Additional context used
🪛 GitHub Actions: Ruff Style Check
src/lfx/src/lfx/base/models/unified_models.py
[error] 333-333: Ruff: W293 Blank line contains whitespace. Command: uv run --only-dev ruff check --output-format=github .
🪛 GitHub Check: Ruff Style Check (3.13)
src/lfx/src/lfx/base/models/unified_models.py
[failure] 333-333: Ruff (W293)
src/lfx/src/lfx/base/models/unified_models.py:333:1: W293 Blank line contains whitespace
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: Update Component Index
- GitHub Check: Update Starter Projects
Codecov Report❌ Patch coverage is
❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (40.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #11264 +/- ##
==========================================
- Coverage 34.14% 34.14% -0.01%
==========================================
Files 1408 1408
Lines 66770 66773 +3
Branches 9858 9858
==========================================
- Hits 22801 22799 -2
- Misses 42777 42781 +4
- Partials 1192 1193 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
deon-sanchez
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at some point when all this is merged in we need to write some e2e test to validate ibm watsonx. but code looks good.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.